package com.syp.auth.common;

/**
 * 系统常量
 * 
 * @author syp
 *
 */
public final class Constants {

	/**
	 * The No.1
	 */
	public static final Long SUPER_MAN_NO = 1L;

	/**
	 * utf-8编码
	 */
	public static final String CHARSET_UTF8 = "UTF-8";

	/**
	 * 是否为超管
	 * @param id
	 * @return
	 */
	public static final boolean isSuperMan(Long id) {
		return id == null ? false : id.equals(SUPER_MAN_NO);
	}
	
	/**
	 * 首页路径
	 */
	public static final String INDEX_VIEW_NAME = "/";

}
